import request from "../utils/reuqest.js"
//订单列表
export const api_orders=(data)=>request.get("orders",data);
//编辑
export const api_add=(data)=>request.put(`orders/${data.id}`,data);